package com.fx.spring.jfx;

import javafx.stage.Stage;
import org.springframework.stereotype.Component;

/**
 * 启动抽象类
 */

public abstract class AbstractSpringStartFX {

    protected void init()throws Exception {
    }

    protected abstract void start(Stage primaryStage)throws Exception;

    protected void stop()throws Exception {
    }

}
